package com.app.entity.authority;

import com.app.entity.BaseTree;

import java.util.List;

/**
 * 
 * @author zhangyufei
 *  ����ʵ����
 */
public class Department extends BaseTree {
	
	private String  id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}


	public String getLevelCode() {
		return levelCode;
	}

	public void setLevelCode(String levelCode) {
		this.levelCode = levelCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


	private String levelCode;
	private String  address;


	public boolean isUsed() {
		return isUsed;
	}

	public void setUsed(boolean used) {
		isUsed = used;
	}

	private  boolean isUsed;

	public int getChildCount() {
		return childCount;
	}

	public void setChildCount(int childCount) {
		this.childCount = childCount;
	}

	private int childCount;


	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	private String parentName;





	@Override
	public String toString() {
		return "Department [id=" + super.getId()
				+ ",  name=" + super.getName() + ", level_code="
				+ levelCode + ",   address="
				+ address +   ", parentid=" + super.getParentId() + "]";
	}
	

}
